package com.bootdo.contract.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.contract.dao.TikuDao;
import com.bootdo.contract.domain.TikuDO;
import com.bootdo.contract.service.TikuService;



@Service
public class TikuServiceImpl implements TikuService {
	@Autowired
	private TikuDao tikuDao;
	
	@Override
	public TikuDO get(Integer id){
		return tikuDao.get(id);
	}
	
	@Override
	public List<TikuDO> list(Map<String, Object> map){
		return tikuDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return tikuDao.count(map);
	}
	
	@Override
	public int save(TikuDO tiku){
		return tikuDao.save(tiku);
	}
	
	@Override
	public int update(TikuDO tiku){
		return tikuDao.update(tiku);
	}
	
	@Override
	public int remove(Integer id){
		return tikuDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return tikuDao.batchRemove(ids);
	}
	
}
